  import Vue from 'vue'
  import Vuex from 'vuex'
  import Paperbook from './modules/Paperbook.js'
  import ebook from './modules/ebook.js'
  import Unified from './modules/Unified.js'
  import qikan from './modules/qikan.js'
  import NewEbook from './modules/NewEbook.js'
  //   import createLogger from '../../../src/plugins/logger'

  Vue.use(Vuex)

  //   const debug = process.env.NODE_ENV !== 'production'

  export default new Vuex.Store({
      state: {
          Namedparent: {
              key: '0',
              name: 'Unified'
          }
      },
      modules: {
          Unified, //统一检索
          Paperbook, //纸书
          ebook, //电子书
          qikan, //电子期刊
          NewEbook  //新电子书
      },
      //   strict: debug,
      //   plugins: debug ? [createLogger()] : []
  })